All Questions
Tagged with programming-practicesprogramming-languages
65 questions
0votes
2answers
88views
I've a doubt regarding Environment Model of execution
I came across Environment Diagrams,it is described below Whenever Python needs to work with an object, that object is stored in memory; and, additionally, Python also needs a way to associate names ...
-3votes
1answer
1kviews
What naming convention should I use for a JSON RPC client API designed for multiple languages?
This is the documentation with the original RPC client API specification. The naming convention in the specification is camel case. Naming conventions might differ in subtle ways for different ...
-4votes
1answer
367views
Is it a good idea to use a Parser Combinator to parse unstructured input?
I'm writing a parser that needs to accept unstructured input. By that I mean it needs to take in a raw signal (text, in this case) and look for significant character sequences while accumulating the ...
-1votes
1answer
200views
Writing programs in an unsupported language
Is it possible to write a program in a language unsupported by an editor or IDE, save it, then run it in different IDE or editor that does support the language?
3votes
1answer
249views
How hard should I try to write idiomatic code in a polyglot environment?
I work on a small team (2 primaries with one or two other occasional contributors) on a project/product that spans a number of separate platforms. We do embedded firmware in straight C on Arm0 chips. ...
5votes
3answers
2kviews
In functional programming, what it means "Order of evaluation does not matter" when function is pure?
In context of pure functions in FP, apart from several benefits mentioned like easy to reason about, testability it also says "order of evaluation does not matter" since output remains same for given ...
123votes
12answers
48kviews
Why are multiple programming languages used in the development of one product or piece of software?
I am a recent grad student aiming to start my Master's in Computer Science. I have come across multiple open source projects that really intrigue me and encourage me to contribute to them (CloudStack, ...
4votes
2answers
426views
Should I duplicate code across languages?
Where I work, we use a language for our desktop software development (Delphi) and an other for web apps (asp.net/c#). My bosses want me to implement a feature on a website but they ask me to develop ...
22votes
6answers
7kviews
Is it considered bad software engineering practice to always use "public" methods? [duplicate]
I've always used public methods and recently been advised by one of my friends to always avoid defining methods as public, as far as possible, though I have worked in any commercial company I have ...
0votes
1answer
151views
What is a good practice for connecting several parts of a project written in different programming languages? [closed]
Usually passing data inside a project isn't a big problem as long as everything is written in one language. However things may turn ugly, if parts of the program are written in different languages. ...
-3votes
3answers
491views
Writing quality code [closed]
I know there are many books on writing clean, modular, readable and whatever else you can say but frankly speaking I find it very hard to remember every advice given on those books. Frankly speaking ...
2votes
2answers
150views
Which of these languages is easier to package for other languages?
I want to create a project that can be added as a dependency to other projects in the following languages: Java, C#, Ruby, Python, JavaScript (Node) For example, I want to create a jar which can be ...
54votes
11answers
12kviews
"Easy to reason about" - what does that mean? [closed]
I have heard a lot of times when other developers use that phrase to "advertise" some patterns or developing best practices. Most of the time this phrase is used when you are talking about benefits of ...
296votes
16answers
30kviews
Grokking Java culture - why are things so heavy? What does it optimize for? [closed]
I used to code in Python a lot. Now, for work reasons, I code in Java. The projects I do are rather small, and possibly Python would work better, but there are valid non-engineering reasons to use ...
3votes
0answers
236views
Understanding Typescript's views on inheritance
I have been struggling to understand the reasons why typescript developers choose the way they implemented inheritance. What I would expect from any language supporting inheritance is these order of ...